﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace LdtJudge.DataEngine.Model.XMLConfigModel.DataStores
{
    /// <summary>
    /// 优选配置
    /// </summary>
    [Serializable]
    [XmlRootAttribute("root", IsNullable = false)]
    public class StageConfig
    {
        [XmlElementAttribute("stage", IsNullable = false)]
        public List<StageModel> stageModelList;

        [XmlElementAttribute("evidence", IsNullable = false)]
        public List<EvidenceDelModel> evidenceModelList;
    }

    public class StageModel
    {
        /// <summary>
        /// 阶段序号
        /// </summary>
        [XmlAttribute("id")]
        public string id { get; set; }
        /// <summary>
        /// 阶段名称
        /// </summary>
        [XmlAttribute("nameCH")]
        public string name { get; set; }
        /// <summary>
        /// 路径
        /// </summary>
        [XmlAttribute("path")]
        public string path { get; set; }
        /// <summary>
        /// 阶段值
        /// </summary>
        [XmlAttribute("value")]
        public string value { get; set; }

    }

    /// <summary>
    /// 证据与事实关系删除
    /// </summary>
    public class EvidenceDelModel
    {
        /// <summary>
        /// 路径
        /// </summary>
        [XmlAttribute("path")]
        public string path { get; set; }
    }
}
